package com.sqtracker.recommender.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.Date;
import java.util.List;

@Data
@Document(collection = "torrent_metadata_ext")
public class TorrentMetadataExt {
    @Id
    private String id;
    private String torrentId;  // 关联原sqtracker中的种子ID
    private Double publisherReputation;  // 发布者声誉分数 (0-1)
    private List<String> tags;  // 扩展标签
    private String language;  // 内容语言
    private List<String> subtitles;  // 字幕语言
    private String quality;  // 质量级别
    private Double popularity;  // 流行度分数 (0-1)
    private Double freshness;  // 新鲜度分数 (0-1)
    private Date lastUpdated;  // 最后更新时间
    private String torrentCategoryId; // 种子分类ID
}